package com.topsoft.micro.feign.sso;

import org.springframework.stereotype.Component;

import com.topsoft.micro.inter.dto.UserInfo;
import com.zzy.core.dto.CodeMsg;
import com.zzy.core.dto.Result;

/**
 * 
 * @author guokaige
 *
 */
@Component
public class SsoUserInfoServiceFallBack implements SsoUserInfoService{

	@Override
	public Result<CodeMsg> validatePhone(String phone) {
		return Result.error(CodeMsg.COMMON_TIME_OUT);
	}

	@Override
	public Result<CodeMsg> validateUserName(String userName) {
		return Result.error(CodeMsg.COMMON_TIME_OUT);
	}

	@Override
	public Result<CodeMsg> saveUserInfo(UserInfo userInfo) {
		return Result.error(CodeMsg.COMMON_TIME_OUT);
	}

}
